#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes */
#include "stm32f1xx_hal.h"
#include "stm32f1xx_it.h"

/* Exported types */
/* Exported constants */
/* Exported macro */
/* Exported functions prototypes */
void Error_Handler(void);

/* External variables */
extern UART_HandleTypeDef huart1;
extern volatile uint8_t send_enabled;
extern volatile uint8_t uart_rx_flag;

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */



